<template>
  <div class="layout">
    <Header></Header>
    <div class="main no-drag">
      dsafas
      <!-- <RouterView v-slot="{ Component, route }">
        <KeepAlive v-if="route.meta?.keeyAlive === undefined || route.meta?.keeyAlive === false">
          <component :is="Component" :key="route.fullPath" />
        </KeepAlive>
        <component v-else :is="Component" />
      </RouterView> -->
    </div>
  </div>
</template>

<script setup lang="ts">
import Header from "./header/Header.vue";
</script>

<style lang="scss" scoped>
.layout {
  height: 100%;
  overflow: hidden;
}
.main {
  height: calc(100% - 40px);
}
</style>
